package com.xiaowan.model.credit;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 实现功能：工作信息
 *
 * @author 作者[admin]
 * @version 1.0.00 2023-04-07 11:01
 */
@Data
@TableName("credit_work_info")
public class CreditWorkInfo  implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;



    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("createTime")
    private LocalDateTime createTime;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @TableField("updateTime")
    private LocalDateTime updateTime;

    /**
     * 公司名称
     */
    @TableField("name")
    private String name;

    /**
     * 薪资范围 1:1000-3000 2:3000-5000 3:5000-10000 4:10000-20000 5:20000-50000 6:50000-100000 7:100000-150000
     */
    /**
     * 高值
     */
    @TableField("highSalary")
    private Integer highSalary;

    /**
     * 低值
     */
    @TableField("lowSalary")
    private Integer lowSalary;

    /**
     * address 省id
     */
    @TableField("provinceId")
    private Integer provinceId;

    /**
     * address 市id
     */
    @TableField("townId")
    private Integer townId;

    /**
     * address 县id
     */
    @TableField("countyId")
    private Integer countyId;

    /**
     * address 省地址
     */
    @TableField("provinceAddress")
    private String provinceAddress;

    /**
     * address 市地址
     */
    @TableField("townAddress")
    private String townAddress;

    /**
     * address 县地址
     */
    @TableField("countyAddress")
    private String countyAddress;

    /**
     * 工作地址
     */
    @TableField("address")
    private String address;


}
